package net.knightwatch.kwtools.database; 

import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

public class ItemTypeTable {
	// Class Information
				private static final String TAG = "ItemTypeTable";
				// Database Table
				public static final String TABLE_ITEM_TYPE = "ItemTypes";
				public static final String COLUMN_ID = "_id";				
				public static final String COLUMN_NAME = "name";
				
				// Database Creation SQL Statement
				private static final String DATABASE_CREATE = "create table " 
						+ TABLE_ITEM_TYPE
						+ "("
						+ COLUMN_ID + " integer primary key autoincrement, "
						+ COLUMN_NAME + " text not null"
						+ ");";
				// Database Default Values
				
				public static void onCreate(SQLiteDatabase database) {
					Log.i(TAG, "Creating " + TABLE_ITEM_TYPE + " Table");
					database.execSQL(DATABASE_CREATE);
					// Insert Default Values for the table
				
				}
				public static void onUpgrade(SQLiteDatabase database, int oldVersion, int newVersion){
					
				}
}